package com.bms.hystrix.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.Min;
import javax.validation.constraints.Size;
import java.io.Serializable;

/**
 * 出访管理(ChuFangGuanLi)实体类
 *
 * @author makejava
 * @since 2021-03-15 17:51:31
 * @version 1.0
 */
@ApiModel(value = "ChuFangGuanLiChanXun",description = "出访查询")
public class ChuFangGuanLiChanXun implements Serializable {
    private static final long serialVersionUID = -3736465887759447125L;
//    /**
////    * 出访时间
////    */
////
////	@ApiModelProperty(name = "chuFangShiJian",notes = "出访时间",dataType = "Date",required = true)
////    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
////    // 下面是服务器响应返回的内容，如果没有格式化转换，那么返回的内容是长毫秒数，接收mysql数据库中的数据也需要设置东八区+8时
////    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
////    private Date chuFangShiJian;
////    /**
////    * 预计出访时间
////    */
////	@ApiModelProperty(name = "yuJiChuFangShiJian",notes = "预计出访时间",dataType = "Date",required = true)
////    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
////    // 下面是服务器响应返回的内容，如果没有格式化转换，那么返回的内容是长毫秒数，接收mysql数据库中的数据也需要设置东八区+8时
////    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
////    private Date yuJiChuFangShiJian;
////    /**
////    * 出访目的
////    */
////	@ApiModelProperty(name = "chuFangMuDe",notes = "出访目的",dataType = "String",required = true)
////    private String chuFangMuDe;
    /**
    * 出访申请人
    */
	@ApiModelProperty(name = "chuFangShenQingRen",notes = "出访申请人",dataType = "String",required = false)
    @Size(min = 0, max =8, message = "chuFangShenQingRen 出访申请人必须在0~8位之间")
    private String chuFangShenQingRen;
    /**
     * 出访申请人
     */
    @Min(value=1,message = "page不能小于0")
    @ApiModelProperty(name = "page",notes = "页数",dataType = "String",required = false)
    private int page=1;
    /**
    * 出访人员id
    */
	@ApiModelProperty(name = "chuFangRenYuan",notes = "出访人员id",dataType = "Integer",required = false)
    @Size(min = 0, max = 8, message = "chuFangRenYuan 出访人员必须在0~8位之间")
    private String chuFangRenYuan;
    /**
    * 合作计划id(id为-1为 自由出访人员 反之显示合作名)
    */
//	@ApiModelProperty(name = "heZuoJiHuaId",notes = "合作计划id(id为-1为 自由出访人员 反之显示合作名)",dataType = "Integer",required = true)
//    private Integer heZuoJiHuaId;
//    /**
//    * 费用id
//    */
//	@ApiModelProperty(name = "feiYongId",notes = "费用id",dataType = "Integer",required = true)
//    private Integer feiYongId;
//
//	@ApiModelProperty(name = "id",notes = "${column.comment}",dataType = "Integer",required = true)
//    private Integer id;
//    /**
//    * 实际时间
//    */
//	@ApiModelProperty(name = "shiJiShiJian",notes = "实际时间",dataType = "Date",required = true)
//    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
//    // 下面是服务器响应返回的内容，如果没有格式化转换，那么返回的内容是长毫秒数，接收mysql数据库中的数据也需要设置东八区+8时
//    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
//    private Date shiJiShiJian;
//    /**
//    * 随行学生id（例子：1,2,3）
//    */
//	@ApiModelProperty(name = "suiHangXueSheng",notes = "随行学生id（例子：1,2,3）",dataType = "String",required = true)
//    private String suiHangXueSheng;


    public String getChuFangShenQingRen() {
        return chuFangShenQingRen;
    }

    public void setChuFangShenQingRen(String chuFangShenQingRen) {
        this.chuFangShenQingRen = chuFangShenQingRen;
    }

    public int getPage() {
        return page;
    }

    public void setPage(int page) {
        this.page = page;
    }

    public String getChuFangRenYuan() {
        return chuFangRenYuan;
    }

    public void setChuFangRenYuan(String chuFangRenYuan) {
        this.chuFangRenYuan = chuFangRenYuan;
    }

    @Override
    public String toString() {
        return "ChuFangGuanLiChanXun{" +
                "chuFangShenQingRen='" + chuFangShenQingRen + '\'' +
                ", page=" + page +
                ", chuFangRenYuan=" + chuFangRenYuan +
                '}';
    }
}